package com.example.demo.controller.dto.user;

import io.swagger.annotations.ApiModelProperty;

public class AddUserDto {
  @ApiModelProperty(value = "用户名", required = true)
  public String name;

  @ApiModelProperty(value = "密码", required = true)
  public String password;

  public String getName() {
    return name;
  }

  public String getPassword() {
    return password;
  }

  @Override
  public String toString() {
    return "UserDto [name=" + name + ", password=" + password + "]";
  }

}